package com.android.qjpmc.application_module.home.fragment;

import com.android.qjpmc.R;
import com.android.qjpmc.databinding.FragmentMinePageBinding;
import com.android.qjpmc.manager.IntentManager;
import com.android.qjpmc.application_module.home.contract.MinePageContract;
import com.android.qjpmc.application_module.home.viewModel.MinePageViewModel;
import com.android.qjpmc.widget.mvvm.factory.CreateViewModel;
import com.android.qjpmc.widget.mvvm.view.BaseMVVMFragment;

@CreateViewModel(MinePageViewModel.class)
public class MinePageFragment extends BaseMVVMFragment<MinePageViewModel, FragmentMinePageBinding>implements MinePageContract.View {
    @Override
    public int getLayoutId() {
        return R.layout.fragment_mine_page;
    }

    @Override
    public void initView() {
        mBinding.setView(this);

    }

    @Override
    public void initData() {

    }

    @Override
    public void initEvent() {

    }

    //选择报表数据
    @Override
    public void onText1() {
        IntentManager.toReportDataActivity(mActivity);
    }

    @Override
    public void onText2() {
        IntentManager.toApprovalTicketActivity(mActivity);
    }

    @Override
    public void onText3() {
        IntentManager.toLoginActivity(mActivity);
    }

    @Override
    public void onText4() {
        IntentManager.toDeveloperDebuggingActivity(mActivity);
    }

    @Override
    public void onText5() {
        IntentManager.toApprovalTicketTwoActivity(mActivity);
    }

    @Override
    public void onText6() {
        IntentManager.toTransformerSubstationActivity(mActivity);
    }

    @Override
    public void onText7() {
        IntentManager.toTransformerSubstationTwoActivity(mActivity);
    }

    @Override
    public void onText8() {
        IntentManager.toTransformerSubstationHistoryDataActivity(mActivity);
    }

    @Override
    public void onText9() {
        IntentManager.toCoalMineTwoActivity(mActivity);
    }

    @Override
    public void onText10() {
        IntentManager.toSelectDataActivity(mActivity);
    }

    @Override
    public void onText11() {
        IntentManager.toTransformerSubstationFourActivity(mActivity);
    }

    @Override
    public void onText12() {
        IntentManager.toTransformerSubstationFiveActivity(mActivity);
    }

    @Override
    public void onText13() {
        IntentManager.toTransformerSubstationSixActivity(mActivity);
    }

    @Override
    public void onText14() {
        IntentManager.toStationActivity(mActivity,"1");
    }

    @Override
    public void onText15() {
        IntentManager.toModifyTicketInformationActivity(mActivity,0);
    }

    @Override
    public void onText16() {
        IntentManager.toModifyTicketInformationActivity(mActivity,1);
    }

    @Override
    public void onText17() {
        IntentManager.toUserInformationActivity(mActivity);
    }

    @Override
    public void onText18() {
        IntentManager.toCoalMineActivity(mActivity);
    }
}
